package com.health.patient.server.service.impl;

import com.health.common.core.domain.R;
import com.health.health.common.dto.PmsConsultationRecordDto;
import com.health.patient.server.mapper.ConsultationMapper;
import com.health.patient.server.service.ConsultationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ConsultationServiceImpl implements ConsultationService{

    @Autowired
    private ConsultationMapper consultationMapper;

    @Override
    public R addConsultation(PmsConsultationRecordDto recordDto) {
        consultationMapper.addConsultation(recordDto);
        return R.ok();
    }
}
